#ifndef PARAMETER_SET_H
#define PARAMETER_SET_H

#include <QWidget>
#include <bits/stdc++.h>
#include <QDebug>
#include <QProcess>
#include<QThread>
namespace Ui {
class parameter_set;
}

class parameter_set : public QWidget
{
    Q_OBJECT

public:
    explicit parameter_set(QWidget *parent = nullptr);
    ~parameter_set();
    bool ip_valid(QString x);
    bool port_valid(QString x);
    bool thread_counts_valid(QString x);
signals:
    void paramater_end_set(QStringList ip_list,std::pair<int,int>conseq_ports,std::vector<int>ports,int thread_cnt);
private slots:
    void on_pushButton_clicked();

    void on_nmap_pbn_clicked();

private:
    Ui::parameter_set *ui;
};

#endif // PARAMETER_SET_H
